Einhugur RawBitmap Objo plugin.

Einhugur.RawBitmap.DrawLine Method

Draws a line at given location into the RawBitmap with a given color.

DrawLine(
   x1 as Integer,
   y1 as Integer,
   x2 as Integer,
   y2 as Integer,
   lineColor as Colour)

Parameters

x1
The x-coordinate of the start point.
y1
The y-coordinate of the start point.
x2
The x-coordinate of the end point.
y2
The y-coordinate of the end point.
lineColor
The color of the line.

Remarks

Note even if this class has the some methods to draw then it is not a Graphics context and never will be. The few drawing commands are more of to help make debugging easier.

This method is not supported in CMYK color space, or 32bit floating point RGB color space. When used in unsupported color space the method will silently fail.

See Also

Einhugur.RawBitmap Class